The Duke of Sussex got his dancing shoes out on Wednesday, as he showed off his moves at a children’s ballet class in London.

Prince Harry, who is expecting a baby with Meghan Markle in April, took part in the class during a visit to YMCA South Ealing on Wednesday afternoon.

Read More: 35 adorable photos prove that Prince Harry will definitely be a fun dad

But rather than just watch the children, who took part in a balancing exercise which involved standing on one leg while keeping a plastic disc on their heads, the duke put his own ballet skills to the test and joined in on the fun.

Prince Harry ballet

Foto: The royal joined in on the fun as the kids tried a balancing technique.sourceAdrien Dennis/ WPA Pool/ Getty Images

You can watch the adorable moment in this video, which was captured by the Daily Mail's royal correspondent Rebecca English.

Harry, who struggled to keep his own balance, told the children: "You were very, very good. Well done. You were all fantastic."

After the class, the prince made his way to a mother and her baby who sat in the audience.

Prince Harry baby ballet

Foto: Prince Harry shared this adorable moment with a baby at the event.sourceAdrien Dennis/ WPA Pool/ Getty Images

Showing his own anticipation for the birth of his and Markle's baby, the duke asked the woman how old the baby was and if she had been sleeping well. You can watch the interaction in the video below.

The prince also took part in a mental health discussion during his visit, where he called for the online video game "Fortnite" to be banned because it was "created to addict."

Harry also called social media "more addictive than drugs and alcohol" during the discussion.

It's not the first time he has spoken out against the harmful effects of social media. In March, the royal family released "social media community guidelines" to the public after receiving angry, racist comments about Meghan Markle.

That's why it may have come as a surprise to some fans when the duke posted photos of the event to his new Instagram account, @sussexroyal, which he created with Markle just the day before.

http://instagr.am/p/BvzX7S-B4Hg

The couple broke a Guinness World Record after their account reached 1 million followers in less than six hours. The account now has more than 3 million followers.